package ooday05homework;

public class GetterSetter {
    public static void main(String[] args) {
        Point p = new Point();
        p.setX(1020);
        p.setY(200);
        int a = p.getX();
        int b = p.getY();
        System.out.println("("+a+","+b+")");
    }
}
